<?php
class OrdersDetailModel extends RelationModel {
//    protected $_link = array(
//            'StoreGoods'=>array(
//            'mapping_type'    =>HAS_ONE,
//                'class_name'    =>'StoreGoods',
//                'foreign_key'=>'goods_id',
//    			'as_fields'=>'name,price',
////    			'mapping_name' =>'wbar_name',
////    			'mapping_fields'=>'name',
//             ),
//            'Orders'=>array(
//            'mapping_type'    =>HAS_ONE,
//                'class_name'    =>'Orders',
//                'foreign_key'=>'order_id',
//    			'as_fields'=>'create_time',
////    			'mapping_name' =>'wbar_name',
////    			'mapping_fields'=>'name',
//             ),
//         );
//      
//         
}